﻿using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Common
{
    [DataContract]
    public class Response
    {
        [DataMember]
        public int ServiceID;
        [DataMember]
        public string Action;
        [DataMember]
        public Error Error;
        [DataMember]
        public List<HsePSObject> Result;
        [DataMember]
        public int TotalResultsCount;

        public Response()
        {
            Result = new List<HsePSObject>();
            Error = new Error();
            TotalResultsCount = -1;
        }
    }
}
